let {createPool} = require('mysql');

let connect = createPool({
  host: 'localhost',//ip
  user: 'root',//myuser
  password: 'rootroot',//mypassword
  port: 3306,//mysql都是3306
  database:'farming'
});

module.exports = connect;
